package com.mall.user;

import com.mall.user.dto.*;

/**
 * @author: thz
 * @class: IUserService
 */
public interface IUserService {

    /**
     * @author thz
     * @title userRegisterService
     * @description: 用户注册
     * @param: [userRegisterRequest]
     * @return: com.mall.user.dto.UserRegisterResponse
     */
    UserRegisterResponse userRegister(UserRegisterRequest request, String uuid);

    /**
     * @author thz
     * @title userLogin
     * @description: 用户登录
     * @param: [request, uuid]
     * @return: com.mall.user.dto.UserLoginResponse
     */
    UserLoginResponse userLogin(UserLoginRequest request, String uuid);


    void sendEmail(String email, String uuid, String userName);

    QueryMemberResponse getUserDataResponse(QueryMemberRequest request);

}
